package com.zenith.api.po.vo.edu;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Schema(name = "EduAssignmentSubmissionVO", description = "作业提交记录VO")
public class EduAssignmentSubmissionVO {
    
    @Schema(description = "主键ID")
    private Long id;
    
    @Schema(description = "作业ID")
    private Long assignmentId;
    
    @Schema(description = "学生ID")
    private Long studentId;
    
    @Schema(description = "提交内容")
    private String submissionContent;
    
    @Schema(description = "附件URL列表（JSON数组）")
    private String attachmentUrls;
    
    @Schema(description = "提交时间")
    private LocalDateTime submitTime;
    
    @Schema(description = "作业得分")
    private BigDecimal score;
    
    @Schema(description = "教师反馈")
    private String feedback;
    
    @Schema(description = "批改时间")
    private LocalDateTime gradedTime;
    
    @Schema(description = "批改教师ID")
    private Long gradedBy;
    
    @Schema(description = "状态：1-已提交 2-已批改 3-需重做 4-已完成")
    private Integer status;
    
    @Schema(description = "提交次数")
    private Integer attemptCount;
    
    @Schema(description = "耗时（分钟）")
    private Integer spendTime;
    
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
    
    @Schema(description = "创建人ID")
    private Long createBy;
    
    @Schema(description = "更新人ID")
    private Long updateBy;
}